{% extends 'base.html' %}
{% block stylesheet %}
{{ block.super }}
{% endblock%}

{% block javascript %}
{{ block.super }}
{% endblock%}
{% block content %}
<h2>E-Teacher List</h2>

<div id="navi">
    <ul>
        <li><a href="{% url eteacher_list %}">e-teacher list</a></li>
        <li><a href="{% url kteacher_list %}">k-teacher list</a></li>
        <li><a href="{% url eteacher_create %}">e-teacher create</a></li>
    </ul>
</div>

<table>

{% for eteacher in eteachers %}
    <tr>
        <td><a href="{% url eteacher_detail eteacher.id %}">{{ eteacher.first_name }}</a></td>
        <td>{{ eteacher.mobilephone }}</td>
        <td>{{ eteacher.phone }}</td>
        <td>{{ eteacher.email }}</td>
    </tr>
{% endfor %}
</table>
{% endblock %}